impl Solution {
    pub fn minimum_abs_difference(mut arr: Vec<i32>) -> Vec<Vec<i32>> {
        arr.sort();
        let mut min=1<<31-1;
        let mut ans=Vec::<Vec<i32>>::new();
        arr.iter().skip(1).zip(arr.iter()).for_each(|(a,b)|{
            if min==a-b{
                ans.push(vec![*b,*a]);
            }else if min>a-b{
                ans.clear();
                min=a-b;
                ans.push(vec![*b,*a]);
            }
        });
        ans

    }
}